package org.dromara.patrol.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.patrol.domain.PatrolSnapRecord;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 巡店管理-处理记录视图对象 patrol_snap_record
 *
 * @author LionLi
 * @date 2024-03-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PatrolSnapRecord.class)
public class PatrolSnapRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 记录id
     */
    @ExcelProperty(value = "记录id")
    private Long recordId;

    private String recordName;

    /**
     * 记录名称
     */
    @ExcelProperty(value = "记录名称")
    private String name;

    /**
     * 备注说明
     */
    @ExcelProperty(value = "备注说明")
    private String msg;

    /**
     * 已编辑图片地址
     */
    @ExcelProperty(value = "已编辑图片地址")
    private String imageUrl;

    /**
     * 有无问题（字典表：HAD_ISSUE 有问题，NO_ISSUE 无问题）
     */
    @ExcelProperty(value = "有无问题", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "字=典表：HAD_ISSUE,有=问题，NO_ISSUE,无=问题")
    private String markType;

    /**
     * 巡店图片id
     */
    @ExcelProperty(value = "巡店图片id")
    private Long snapImageId;

    /**
     * 通知人ids
     */
    @ExcelProperty(value = "通知人ids")
    private String atUserIds;

    /**
     * 原始图片地址
     */
    @ExcelProperty(value = "原始图片地址")
    private String defaultImageUrl;

    private Long createBy;

    /**
     * 创建时间
     */
    private Date createTime;


}
